package com.blb.zycommunity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 社区互动表
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
@TableName("zy_community_interaction")
@Data
@ApiModel(value = "ZyCommunityInteraction对象", description = "社区互动表")
public class ZyCommunityInteraction implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private String interactionId;

    @ApiModelProperty("小区ID")
    private Long communityId;

    @ApiModelProperty("创建人ID")
    private String createBy;

    @ApiModelProperty("更新者ID")
    private String updateBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("删除状态0默认1删除")
    private Integer delFlag;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建人ID")
    private Long userId;

    @ApiModelProperty("点赞数")
    private Long likeNum;

    @ApiModelProperty("图片地址")
    private String imageUrls;

    @TableField(exist = false)
    private ZyOwner zyOwner;

    @TableField(exist = false)
    private ZyCommunity zyCommunity;

}
